package com.futures.investm.adapter;


import com.futures.investm.R;
import com.futures.investm.entity.FundEntity;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;


public class FundAdapter extends BaseQuickAdapter<FundEntity,BaseViewHolder> {


    public FundAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, final FundEntity item) {


        helper.setText(R.id.tv_name,item.getCoin_name_base());
        helper.setText(R.id.tv_chengjiaoe,item.getCoin_price_base());
//
//        ImageView view = helper.getView(R.id.img);
//
//
//
//        GlideManager.loadImg(item.getMore().getThumbnail(),view);
//
//        helper.setText(R.id.tv_time,item.getPublished_time());
//
//        helper.itemView.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                IntentUtils.goArticleDetailsActivity(mContext, item.getId()+"");
//            }
//        });


    }
}
